<?php
// hold config items here
$config["broadcast"]="255.255.255.255";
$config["bindaddress"]="0.0.0.0";
$config["xaphbeatinterval"]=60;
$config["database"]="mysql"; //sqlite,sqlite3,mysql only  choice for now

$config["databaseserver"]="127.0.0.1";
$config["databaseserverport"]="3306";
$config["databaseserverdbname"]="xap";
$config["databaseserveruser"]="xapengine";
$config["databaseserverpassword"]="password";



$config["basefolder"]="C:/xAP/";
$config["debug"]=1;
$config["statetable"]=0;  // keep the full state table of devices

$config["pcname"]="Server";
$config["baseurl"]="http://".my_ip()."/";
$config["theme"]="standard";
$config["showconfig"]=0;

$config["fulldateformat"]="F j, Y, g:i a";


if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
    $config["win"]=1;
} else {
    $config["win"]=0;
}
// load custom config
@include_once "myconfig.php";
?>